package com.lesso.lzh.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.lzh.sunflower.model.RelEmployeeDevice;
import com.lesso.lzh.sunflower.pojo.dto.RelEmployeeDeviceQueryDTO;
import com.lesso.lzh.sunflower.pojo.vo.RelEmployeeDeviceVO;

import java.util.List;

/**
 * RelEmployeeDeviceRepository
 *
 * @author zqz
 * @since 2025-07-05
 */
public interface RelEmployeeDeviceRepository {
    Long  save(RelEmployeeDevice relEmployeeDevice);

    Page<RelEmployeeDeviceVO> getPageList(RelEmployeeDeviceQueryDTO dto);

    Page<RelEmployeeDeviceVO> getCustomPageList(RelEmployeeDeviceQueryDTO dto);

    void removeById(Long id);

    RelEmployeeDevice selectById(Long id);

    void update(RelEmployeeDevice e);

    List<RelEmployeeDevice> listByEmployeeId(Long employeeId);
}